package overview;

import oop4.Dog;

/**
 * @author oldliu
 * @since 1.0
 */
public class FinalTest {
    public static void main(String[] args) {
        final int a=100;
        //a=20;
        //final是引用不能改
        final Dog d=new Dog("大黄",100,100,"公","藏獒");
        d.setLove(55);
        d.print();
        //》d=new Dog("2黄",100,100,"公","藏獒");
    }
}
